package com.share.finance.fund.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.finance.fund.model.db.LoanInfo;
import com.share.finance.fund.model.db.RepaymentPlan;
import com.share.finance.fund.model.db.RepaymentRecord;
import com.share.finance.fund.model.vo.LoanApplyReq;
import com.share.finance.fund.model.vo.LoanRecordPageReq;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2024-08-21
 */
public interface ILoanInfoService extends IService<LoanInfo> {

    Page<LoanInfo> pageList(LoanRecordPageReq req);

    Integer apply(LoanApplyReq req);

    Object genLoanAndPlan();

    RepaymentRecord getRepaymentRecordByPlan(RepaymentPlan plan);
}
